<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <div id="app">
        <h1 v-text='msg'></h1>
        <h1 v-text='msg1'></h1>
        <h2 v-html='msg1'></h2>
    </div>

    <script src="./js/vue.js"></script>
    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                msg: 'vue hello',
                msg1: '<span>  我是html  </span>'
            }
        })
    </script> -->































    <div id="app">
        <h1 v-text='msg'></h1>
        <h1 v-text='msg1'></h1>
        <h2 v-html='msg1'></h2>
    </div>

    <script src="./js/vue.js"></script>
    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                msg: 'vue  hello',
                msg1: '<span>  我是html  </span>'
            }
        })
    </script>
</body>

</html>